/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __IMU_H
#define __IMU_H
  /* Includes ------------------------------------------------------------------*/

/* USER CODE BEGIN Includes */
#include "stm32f4xx_hal.h"
#include "iic1.h"
/* USER CODE END Includes */
//#define IMU_DEBUG

void Set_Acceleration_Para(uint16_t Address, uint8_t Data);
void Set_Gyroscope_Para(uint16_t Address, uint8_t Data);
bool Get_Acceleration(int16_t *x,int16_t *y,int16_t *z);
bool Get_Gyroscope(int16_t *z);
void IMU_Config(void);


#endif /* __IMU_H */